<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>gamelily  v0.0.1 API documentation | lily</title>
  <meta name="generator" content="PDoc" />
  
  <script charset="utf-8" src="../javascripts/pdoc/prototype.js" type="text/javascript"></script>
  <script charset="utf-8" src="../javascripts/pdoc/application.js" type="text/javascript"></script>
<script charset="utf-8" src="../javascripts/pdoc/tabs.js" type="text/javascript"></script>
  <script charset="utf-8" src="../javascripts/pdoc/item_index.js" type="text/javascript"></script>
  
  <link charset="utf-8" href="../stylesheets/pdoc/api.css" media="screen, projection" rel="stylesheet" type="text/css" />
<link charset="utf-8" href="../stylesheets/pdoc/pygments.css" media="screen, projection" rel="stylesheet" type="text/css" />
  
  <script type="text/javascript">
    PDoc.pathPrefix = '../';
  </script>
</head>
  <body>

    <div id="sidebar">
      <ul id="sidebar_tabs" class="sidebar-tabs">
        <li>
          <a href="#menu_pane">Menu</a>
        </li>
        <li>
          <a href="#search_pane">Search</a>
        </li>
      </ul> <!-- .sidebar-tabs -->

      <form class="search-ribbon">
        <label>
          <span class="hidden">Search</span>
          <input type="text" id="search" size="20" title="Search" />
        </label>
      </form>
      
      <div class="sidebar-pane scrollable" id="menu_pane">
        <ul class="menu-items" id="api_menu"><li><div class="menu-item"><a class="namespace current" href="../lily/index.html" title="lily (namespace)">lily</a></div><ul><li><div class="menu-item"><a class="namespace" href="../lily/graphics/index.html" title="lily.graphics (namespace)">lily.graphics</a></div><ul><li><div class="menu-item"><a class="namespace" href="../lily/graphics/collider/index.html" title="lily.graphics.collider (namespace)">lily.graphics.collider</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../lily/graphics/core/index.html" title="lily.graphics.core (namespace)">lily.graphics.core</a></div></li>
<li><div class="menu-item"><a class="class" href="../lily/graphics/Display/index.html" title="lily.graphics.Display (class)">lily.graphics.Display</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../lily/graphics/dom/index.html" title="lily.graphics.dom (namespace)">lily.graphics.dom</a></div><ul><li><div class="menu-item"><a class="namespace" href="../lily/graphics/dom/anim/index.html" title="lily.graphics.dom.anim (namespace)">lily.graphics.dom.anim</a></div><ul><li><div class="menu-item"><a class="class" href="../lily/graphics/dom/anim/Morph/index.html" title="lily.graphics.dom.anim.Morph (class)">lily.graphics.dom.anim.Morph</a></div></li>
<li><div class="menu-item"><a class="class" href="../lily/graphics/dom/anim/Strip/index.html" title="lily.graphics.dom.anim.Strip (class)">lily.graphics.dom.anim.Strip</a></div></li></ul></li>
<li><div class="menu-item"><a class="namespace" href="../lily/graphics/dom/core/index.html" title="lily.graphics.dom.core (namespace)">lily.graphics.dom.core</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../lily/graphics/dom/font/index.html" title="lily.graphics.dom.font (namespace)">lily.graphics.dom.font</a></div></li>
<li><div class="menu-item"><a class="class" href="../lily/graphics/dom/Font/index.html" title="lily.graphics.dom.Font (class)">lily.graphics.dom.Font</a></div></li>
<li><div class="menu-item"><a class="class" href="../lily/graphics/dom/Surface/index.html" title="lily.graphics.dom.Surface (class)">lily.graphics.dom.Surface</a></div></li></ul></li>
<li><div class="menu-item"><a class="namespace" href="../lily/graphics/font/index.html" title="lily.graphics.font (namespace)">lily.graphics.font</a></div></li>
<li><div class="menu-item"><a class="class" href="../lily/graphics/Font/index.html" title="lily.graphics.Font (class)">lily.graphics.Font</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../lily/graphics/sprite/index.html" title="lily.graphics.sprite (namespace)">lily.graphics.sprite</a></div><ul><li><div class="menu-item"><a class="class" href="../lily/graphics/sprite/Sprite/index.html" title="lily.graphics.sprite.Sprite (class)">lily.graphics.sprite.Sprite</a></div></li>
<li><div class="menu-item"><a class="class" href="../lily/graphics/sprite/SpriteGroup/index.html" title="lily.graphics.sprite.SpriteGroup (class)">lily.graphics.sprite.SpriteGroup</a></div></li></ul></li>
<li><div class="menu-item"><a class="class" href="../lily/graphics/Surface/index.html" title="lily.graphics.Surface (class)">lily.graphics.Surface</a></div></li></ul></li>
<li><div class="menu-item"><a class="namespace" href="../lily/importer/index.html" title="lily.importer (namespace)">lily.importer</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../lily/input/index.html" title="lily.input (namespace)">lily.input</a></div><ul><li><div class="menu-item"><a class="namespace" href="../lily/input/constants/index.html" title="lily.input.constants (namespace)">lily.input.constants</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../lily/input/core/index.html" title="lily.input.core (namespace)">lily.input.core</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../lily/input/Manager/index.html" title="lily.input.Manager (namespace)">lily.input.Manager</a></div></li></ul></li>
<li><div class="menu-item"><a class="namespace" href="../lily/logger/index.html" title="lily.logger (namespace)">lily.logger</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../lily/preloader/index.html" title="lily.preloader (namespace)">lily.preloader</a></div><ul><li><div class="menu-item"><a class="class" href="../lily/preloader/AbstractResource/index.html" title="lily.preloader.AbstractResource (class)">lily.preloader.AbstractResource</a></div></li>
<li><div class="menu-item"><a class="class" href="../lily/preloader/ImageResource/index.html" title="lily.preloader.ImageResource (class)">lily.preloader.ImageResource</a></div></li>
<li><div class="menu-item"><a class="class" href="../lily/preloader/Loader/index.html" title="lily.preloader.Loader (class)">lily.preloader.Loader</a></div></li></ul></li>
<li><div class="menu-item"><a class="namespace" href="../lily/sm/index.html" title="lily.sm (namespace)">lily.sm</a></div><ul><li><div class="menu-item"><a class="namespace" href="../lily/sm/Application/index.html" title="lily.sm.Application (namespace)">lily.sm.Application</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../lily/sm/core/index.html" title="lily.sm.core (namespace)">lily.sm.core</a></div></li>
<li><div class="menu-item"><a class="class" href="../lily/sm/GameScreen/index.html" title="lily.sm.GameScreen (class)">lily.sm.GameScreen</a></div></li>
<li><div class="menu-item"><a class="class" href="../lily/sm/State/index.html" title="lily.sm.State (class)">lily.sm.State</a></div></li>
<li><div class="menu-item"><a class="class" href="../lily/sm/Transition/index.html" title="lily.sm.Transition (class)">lily.sm.Transition</a></div></li></ul></li>
<li><div class="menu-item"><a class="namespace" href="../lily/time/index.html" title="lily.time (namespace)">lily.time</a></div><ul><li><div class="menu-item"><a class="class" href="../lily/time/Clock/index.html" title="lily.time.Clock (class)">lily.time.Clock</a></div></li></ul></li>
<li><div class="menu-item"><a class="namespace" href="../lily/utils/index.html" title="lily.utils (namespace)">lily.utils</a></div></li></ul><ul><li><div class="menu-item"><a class="class-method" href="../lily/_hasDependencies/index.html" title="lily._hasDependencies (class method)">_hasDependencies</a></div></li>
<li><div class="menu-item"><a class="class-method" href="../lily/_import/index.html" title="lily._import (class method)">_import</a></div></li>
<li><div class="menu-item"><a class="class-method" href="../lily/_importCSS/index.html" title="lily._importCSS (class method)">_importCSS</a></div></li>
<li><div class="menu-item"><a class="class-method" href="../lily/_load/index.html" title="lily._load (class method)">_load</a></div></li>
<li><div class="menu-item"><a class="class-method" href="../lily/defineModule/index.html" title="lily.defineModule (class method)">defineModule</a></div></li>
<li><div class="menu-item"><a class="class-method" href="../lily/defineNamespace/index.html" title="lily.defineNamespace (class method)">defineNamespace</a></div></li>
<li><div class="menu-item"><a class="class-method" href="../lily/defineTemp/index.html" title="lily.defineTemp (class method)">defineTemp</a></div></li>
<li><div class="menu-item"><a class="class-method" href="../lily/onLoad/index.html" title="lily.onLoad (class method)">onLoad</a></div></li>
<li><div class="menu-item"><a class="class-method" href="../lily/require/index.html" title="lily.require (class method)">require</a></div></li>
<li><div class="menu-item"><a class="class-method" href="../lily/requireCSS/index.html" title="lily.requireCSS (class method)">requireCSS</a></div></li>
<li><div class="menu-item"><a class="class-method" href="../lily/revertTemp/index.html" title="lily.revertTemp (class method)">revertTemp</a></div></li>
<li><div class="menu-item"><a class="class-method" href="../lily/uniqueID/index.html" title="lily.uniqueID (class method)">uniqueID</a></div></li>
<li><div class="menu-item"><a class="class-property" href="../lily/_all/index.html" title="lily._all (class property)">_all</a></div></li>
<li><div class="menu-item"><a class="class-property" href="../lily/_import_callbacks/index.html" title="lily._import_callbacks (class property)">_import_callbacks</a></div></li>
<li><div class="menu-item"><a class="class-property" href="../lily/_imported/index.html" title="lily._imported (class property)">_imported</a></div></li>
<li><div class="menu-item"><a class="class-property" href="../lily/_last_imported/index.html" title="lily._last_imported (class property)">_last_imported</a></div></li>
<li><div class="menu-item"><a class="class-property" href="../lily/_temp/index.html" title="lily._temp (class property)">_temp</a></div></li>
<li><div class="menu-item"><a class="class-property" href="../lily/import_method/index.html" title="lily.import_method (class property)">import_method</a></div></li>
<li><div class="menu-item"><a class="class-property" href="../lily/module_version/index.html" title="lily.module_version (class property)">module_version</a></div></li>
<li><div class="menu-item"><a class="class-property" href="../lily/object_count/index.html" title="lily.object_count (class property)">object_count</a></div></li>
<li><div class="menu-item"><a class="class-property" href="../lily/path/index.html" title="lily.path (class property)">path</a></div></li>
<li><div class="menu-item"><a class="class-property" href="../lily/prototype_version/index.html" title="lily.prototype_version (class property)">prototype_version</a></div></li>
<li><div class="menu-item"><a class="class-property" href="../lily/version/index.html" title="lily.version (class property)">version</a></div></li></ul></li></ul><!--- #api_menu =-->
      </div> <!-- .sidebar-pane -->
      <div class="sidebar-pane" id="search_pane">
        <ul id="search_results" class="search-results menu-items scrollable"></ul>
      </div> <!-- .sidebar-pane -->
    </div> <!-- #sidebar -->

    <div id="page">
      

      <div id="main" class="page-content">
        





<ul class="breadcrumbs clearfix">
  <li><a href="../">Home</a></li>
  
    <li>&rarr; <a href="../lily/index.html" title="lily (namespace)">lily</a></li>
  
</ul>



<h2 class="page-title">
  <span class="type">namespace</span> lily
</h2>




                <div class="section section-description">
                <div class="section-title">
                  <h3>Description</h3>
                </div> <!-- .section-title -->
                <div class="section-content">

    <p>Lily is a modular framework for game development in JavaScript, using the
new features of HTML5, CSS 3 and JavaScript APIs. It's designed to be easily
extensible and simplify the creation of webgames in JavaScript.</p>

<p>The <code><a href="../lily/index.html" title="lily (namespace)">lily</a></code> module is the entry-point to the lily framework, providing
functions to load the rest of the lily package and define namespaces.</p>
                </div> <!-- .section-content -->
            </div> <!-- .section -->




                <div class="section section-namespaces">
                <div class="section-title">
                  <h3>Namespaces</h3>
                </div> <!-- .section-title -->
                <div class="section-content">

    <ul class="method-details-list">
      <li class="method-description">
  <h4><a href="../lily/graphics/index.html">lily.graphics</a></h4>

  
    <p><p>Abstracts graphics rendering in javascript.</p></p>
  
</li>
<li class="method-description">
  <h4><a href="../lily/input/index.html">lily.input</a></h4>

  
    <p><p>Abstracts input in javascript.</p></p>
  
</li>
<li class="method-description">
  <h4><a href="../lily/logger/index.html">lily.logger</a></h4>

  
    <p><p>A namespace that takes care of error handling and application logs.</p></p>
  
</li>
<li class="method-description">
  <h4><a href="../lily/importer/index.html">lily.importer</a></h4>

  
    <p><p>A namespace for all importing methods used by the lily framework.</p></p>
  
</li>
<li class="method-description">
  <h4><a href="../lily/preloader/index.html">lily.preloader</a></h4>

  
    <p><p>The preloader module implements the resource management used in
<code><a href="../lily/index.html" title="lily (namespace)">lily</a></code>. This include preloading general data and image, and tracking the
data being loaded in the framework. It also provides abstract data classes
that can be extended to add support to other kind of data.</p></p>
  
</li>
<li class="method-description">
  <h4><a href="../lily/sm/index.html">lily.sm</a></h4>

  
    <p><p>Implements screen management through state machines.</p></p>
  
</li>
<li class="method-description">
  <h4><a href="../lily/time/index.html">lily.time</a></h4>

  
    <p><p>Implements timed events that runs within a maximum given FPS.</p></p>
  
</li>
<li class="method-description">
  <h4><a href="../lily/utils/index.html">lily.utils</a></h4>

  
    <p><p>Implements arbitrary basic utilities that complements JavaScript built-ins
(and Prototype's utilities when they just aren't fast enough), but doesn't
fit in any other package because are hardly (if any) game development
related.</p></p>
  
</li>
    </ul>
                </div> <!-- .section-content -->
            </div> <!-- .section -->












  
  
  
                  <div class="section section-class_methods">
                <div class="section-title">
                  <h3>Class methods</h3>
                </div> <!-- .section-title -->
                <div class="section-content">

      <ul class="method-list">
        <li><code><a class="class-method" href="../lily/_hasDependencies/index.html" title="lily._hasDependencies (class method)">_hasDependencies</a></code></li>

<li><code><a class="class-method" href="../lily/_import/index.html" title="lily._import (class method)">_import</a></code></li>

<li><code><a class="class-method" href="../lily/_importCSS/index.html" title="lily._importCSS (class method)">_importCSS</a></code></li>

<li><code><a class="class-method" href="../lily/_load/index.html" title="lily._load (class method)">_load</a></code></li>

<li><code><a class="class-method" href="../lily/defineModule/index.html" title="lily.defineModule (class method)">defineModule</a></code></li>

<li><code><a class="class-method" href="../lily/defineNamespace/index.html" title="lily.defineNamespace (class method)">defineNamespace</a></code></li>

<li><code><a class="class-method" href="../lily/defineTemp/index.html" title="lily.defineTemp (class method)">defineTemp</a></code></li>

<li><code><a class="class-method" href="../lily/onLoad/index.html" title="lily.onLoad (class method)">onLoad</a></code></li>

<li><code><a class="class-method" href="../lily/require/index.html" title="lily.require (class method)">require</a></code></li>

<li><code><a class="class-method" href="../lily/requireCSS/index.html" title="lily.requireCSS (class method)">requireCSS</a></code></li>

<li><code><a class="class-method" href="../lily/revertTemp/index.html" title="lily.revertTemp (class method)">revertTemp</a></code></li>

<li><code><a class="class-method" href="../lily/uniqueID/index.html" title="lily.uniqueID (class method)">uniqueID</a></code></li>

      </ul>
                  </div> <!-- .section-content -->
            </div> <!-- .section -->

  

  
  
  
                  <div class="section section-class_properties">
                <div class="section-title">
                  <h3>Class properties</h3>
                </div> <!-- .section-title -->
                <div class="section-content">

      <ul class="method-list">
        <li><code><a class="class-property" href="../lily/_all/index.html" title="lily._all (class property)">_all</a></code></li>

<li><code><a class="class-property" href="../lily/_import_callbacks/index.html" title="lily._import_callbacks (class property)">_import_callbacks</a></code></li>

<li><code><a class="class-property" href="../lily/_imported/index.html" title="lily._imported (class property)">_imported</a></code></li>

<li><code><a class="class-property" href="../lily/_last_imported/index.html" title="lily._last_imported (class property)">_last_imported</a></code></li>

<li><code><a class="class-property" href="../lily/_temp/index.html" title="lily._temp (class property)">_temp</a></code></li>

<li><code><a class="class-property" href="../lily/import_method/index.html" title="lily.import_method (class property)">import_method</a></code></li>

<li><code><a class="class-property" href="../lily/module_version/index.html" title="lily.module_version (class property)">module_version</a></code></li>

<li><code><a class="class-property" href="../lily/object_count/index.html" title="lily.object_count (class property)">object_count</a></code></li>

<li><code><a class="class-property" href="../lily/path/index.html" title="lily.path (class property)">path</a></code></li>

<li><code><a class="class-property" href="../lily/prototype_version/index.html" title="lily.prototype_version (class property)">prototype_version</a></code></li>

<li><code><a class="class-property" href="../lily/version/index.html" title="lily.version (class property)">version</a></code></li>

      </ul>
                  </div> <!-- .section-content -->
            </div> <!-- .section -->

  

  
  
  

  
  
  

  
  
  

      </div> <!-- #main -->
      
      <div id="footer">
        <p><a href="http://code.google.com/p/gamelily/">Lily -gaming framework-</a> v0.0.1 API documentation.</p>
        <p>
          
            Last updated on September 09, 2010 at 22:23 UTC.
          
          Generated by <a href="http://pdoc.org">PDoc</a>.
          Uses <a href="http://famfamfam.com/lab/icons/silk/" title="famfamfam.com: Silk Icons">Silk Icons</a> and portions of <a href="http://github.com/280north/aristo/tree/master" title="280north's aristo at master - GitHub">Aristo</a>.
        </p>
        
      </div> <!-- #footer -->

    </div> <!-- #page -->
  </body>
</html>
